// 公用函数提取
import Vue from "vue"
import Router from 'vue-router'
import util from '../../util/index.js'
import { Promise } from 'es6-promise'
import Vuex from 'vuex'
import _ from'underscore'


import App from './page/APP.vue'
import { routerMap,beforeEach } from './page/router_setting.js'

Vue.use(Router)

let router = new Router({})


router.map(routerMap)

router.beforeEach(beforeEach)

// window.router = router;
router.start(App, "#app")

